package dfrz.com.controller;

import com.alibaba.fastjson.JSON;
import dfrz.com.domain.Admin;
import dfrz.com.service.ManageServer;
import dfrz.com.service.impl.ManageServerImpl;
import dfrz.com.util.HttpUtil;

import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * @author PuXiaLing
 * @description: TODO
 * @date 2024/2/6 17:54
 */
@WebServlet("/manage/*")
public class ManageController {
    ManageServer manageServer=new ManageServerImpl();
    public void login(HttpServletRequest request, HttpServletResponse response){
        Admin admin= JSON.parseObject(HttpUtil.getParmater(request),Admin.class);

    }
}
